package edu.purdue.chengf.lab;

import android.view.View.*;
import android.view.View;
import java.util.*;
import android.os.*;
import android.widget.*;

public class Listener implements OnClickListener {
    public void onClick(View arg)
    {
        Button btn = (Button) arg;
        CharSequence charSeq = btn.getText();
        if (charSeq.equals("Reset") || charSeq.equals("Time") || charSeq.equals("Serial"))
            StartActivity.logIt(charSeq.toString());
    }
}
